package com.bringspring.workflow.engine.model.flowbefore;

import com.bringspring.workflow.engine.entity.FlowTaskEntity;
import com.bringspring.workflow.engine.model.flowengine.FlowModel;
import com.bringspring.workflow.engine.model.flowengine.shuntjson.nodejson.ChildNodeList;
import lombok.Data;

import java.util.List;

/**
 * 自动同意数据传递模型数据
 */
@Data
public class FlowAutoAgreeModel {

    private FlowModel flowModel;

    private FlowTaskEntity flowTask;

    private List<ChildNodeList> nextChildNodeList;

    public FlowAutoAgreeModel() {
    }

    public FlowAutoAgreeModel(FlowModel flowModel, FlowTaskEntity flowTask, List<ChildNodeList> nextChildNodeList) {
        this.flowModel = flowModel;
        this.flowTask = flowTask;
        this.nextChildNodeList = nextChildNodeList;
    }
}
